package com.photonpay.api.response;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 换汇询价
 *
 * @author ：lo-
 * @date ：Created in 2023/11/22 14:40
 */
@Data
public class PreRechargeResponse extends BaseResponse {

    private DataInfo data;

    @Data
    public static class DataInfo {

        /**
         * 账户ID
         */
        private String accountId;

        /**
         * 到账金额
         */
        private BigDecimal arrivalAmount;

        /**
         * 到账金额币种
         */
        private String arrivalAmountCurrency;

        /**
         * 汇率报价有效时长
         */
        private Integer effectiveQuotationTime;

        /**
         * 汇率
         */
        private BigDecimal exchangeRate;

        /**
         * 汇率报价时间
         */
        private Date quotationTime;

        /**
         * 汇率合约ID
         */
        private String rateContractId;

        /**
         * 充值金额
         */
        private BigDecimal rechargeAmount;

        /**
         * 充值币种
         */
        private String rechargeCurrency;

        /**
         * 充值手续费
         */
        private BigDecimal rechargeFee;

        /**
         * 充值手续费币种
         */
        private String rechargeFeeCurrency;

        /**
         * 请求ID，请保存此ID，带入充值下单接口完成充值。
         */
        private String requestId;

    }
}
